export function bindEvent(vm, pool) {
  for (let [node, info] of pool) {
    vm[info.handle.name] = info.handle
    node.addEventListener(info.type, vm[info.handle.name].bind(vm), false)
  }
}